package com.yhf.mapper;

import com.yhf.bean.Grade;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface GradeMapper {
    Grade findByName(String name);

    int addGrade(Grade grade);

    List<Grade> getGradeList(Grade grade);

    int updateGrade(Grade grade);

    int deleteGrade(Integer[] ids);

    List<Grade> selectAll();
}
